<?php
require_once(OC::$SERVERROOT . "/apps/jobposition/lib/helper.php");
require_once(OC::$SERVERROOT . "/apps/resumes/lib/helper.php");
JLoader::register('ProvinceHelper', JPATH_SITE.'/components/com_city/helper.php');

if(!OC_User::isLoggedIn()) {
   echo '您需要先登录';
   exit();
}

OCP\JSON::callCheck();

$fid = JRequest::getInt('fid', 0);
$url = JRequest::getString('url', '');
$type = JRequest::getString('type', '');
$jobgroupDropdown = new OCP\Template('reports', 'part.jobgroup.dropdown', '');
$jobgroupDropdown->assign('fid', $fid);
$jobgroupDropdown->assign('url', $url);
$jobgroupDropdown->assign('type', $type);
$jobgroupDropdown->printpage();
?>
